package com.lx.input.flatFile;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * FlatFileItemReader:
 * (1)set lines to skip:设置跳过前几行
 * (2)set resource:指定源文件地址
 * (3)设置一个行解析器映射行对应的结果集
 *
 * @author lixing
 * @date 2021/7/12 19:32
 */
@SpringBootApplication
@EnableBatchProcessing
public class InputItemReaderFileApplication {
    public static void main(String[] args) {
        SpringApplication.run(InputItemReaderFileApplication.class, args);

    }
}
